package com.bw.mvp.http;

import com.bw.mvp.model.BaseResponse;
import com.bw.mvp.model.PostListModel;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface ApiService {
    @GET("/app/postsInfo/pageList")
    Observable<BaseResponse<PostListModel>> getPostList(@Query("pageNum") int pageNum,@Query("pageSize") int pageSize);
}
